package com.novax.ex.activity.infrastructure.mapper;

import com.novax.ex.activity.infrastructure.entity.TaskLanguage;
import com.novax.ex.common.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Hsylient
 * @description 针对表【task_language(标题介绍多语言配置表)】的数据库操作Mapper
 * @createDate 2023-06-20 16:47:39
 * @Entity com.novax.ex.activity.infrastructure.entity.TaskLanguage
 */
public interface TaskLanguageMapper extends BaseMapper {

    /**
     * @Description: 根据简介表id或者任务表id查询多语言
     * @Author: ChenXi
     * @Date:  2023/6/25 10:59
     * @param id
     * @return: java.util.List<com.novax.ex.activity.infrastructure.entity.TaskLanguage>
     **/
    List<TaskLanguage> findByParentId(@Param("id") Long id, @Param("type") Integer type);

}
